<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<audio src="img/冯提莫 - 小幸运.mp3" controls="controls" id="music"></audio>
		<input type="button" id="btn1" value="记住起点" />
		<input type="button" id="btn2" value="记住终点" />
		<script>
		window.onload = function(){
			music.currentTime = localStorage.time || 0;
			music.play();
			 setInterval(function(){
		    	localStorage.time = currentTime;
		    	
		    },100);
		}  
		</script>
	</body>
</html>
